/**
 *
 *
 * SysDictData 字典类型管理模块
 *
 * */

import {getData} from "../request"

/**
 * /api/SysDictType/GetPages 查询列表
 *
 * */
export const get_type_list = (params = {}) => {
    return getData("/api/SysDictType/GetPages", "POST", params, "data")
}

/**
 * /api/SysDictType/Edit 修改/添加字典类型
 *
 * */
export const edit_dic_type = (params = {}) => {
    return getData("/api/SysDictType/Edit", "POST", params, "data")
}

/**
 * /api/SysDictType/Delete 删除一条或多条数据
 *
 * */
export const delete_dic_type = (params = {}) => {
    return getData("/api/SysDictType/Delete", "POST", params, "data")
}

/**
 * /api/SysDictType/ChangeStatus 更新字典类型状态'
 *
 * */
export const update_dic_type_status = (params = {}) => {
    return getData("/api/SysDictType/ChangeStatus", "POST", params, "data")
}

/**
 * /api/SysDictType/GetDictTree 字典类型与字典值构造的字典树
 *
 * */
export const get_dic_tree = (params = {}) => {
    return getData("/api/SysDictType/GetDictTree", "POST", params, "data")
}

